index.html.vue 89 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389
  1. <template>
  2. <div>
  3. <!-- 页面头部 -->
  4. <HomePageHead></HomePageHead>
  5. <!-- 页面导航 -->
  6. <HomePageNavigation></HomePageNavigation>
  7. <!-- 广告一 -->
  8. <HomeAdvertising :imgurl="adImg1"></HomeAdvertising>
  9. <!-- 二级导航列表 -->
  10. <div class="nav2top"></div>
  11. <div class="nav2">
  12. <ul class="inner">
  13. <li class="home">
  14. {{ title }}
  15. </li>
  16. <li class="titleList" v-for="(item, index) in pageData" :key="index">
  17. <NuxtLink :href="getLinkPath(item)" :title="item.alias">
  18. <span class="nav2_title">{{ item.alias }}</span>
  19. </NuxtLink>
  20. </li>
  21. </ul>
  22. </div>
  23. <div class="nav2btm"></div>
  24. <!-- 第一层 -->
  25. <!-- 第一部分 -->
  26. <div class="part1">
  27. <div class="inner">
  28. <div class="part1_left" v-if="pageData[0]">
  29. <div class="part1_title">
  30. <h2 class="nav_part1_left">
  31. <NuxtLink :href="getLinkPath(pageData[0])" v-if="pageData[0]" :title="pageData[0].alias">
  32. {{ pageData[0].alias }}
  33. </NuxtLink>
  34. <em></em>
  35. </h2>
  36. </div>
  37. <div class="part1_content">
  38. <div class="context_left">
  39. <div class="top" v-for="(item, index) in pageData[0].data" :key="index">
  40. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  41. <img :src="item.imgurl" alt="item.title">
  42. <span class="title1">{{ item.title }}</span>
  43. </NuxtLink>
  44. </div>
  45. <div class="bottom">
  46. <div class="bottom_left" v-for="(item, index) in pageData[0].data1" :key="index">
  47. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  48. <img :src="item.imgurl" alt="item.title">
  49. <span class="title2">{{ item.title }}</span>
  50. </NuxtLink>
  51. </div>
  52. </div>
  53. </div>
  54. <div class="context_right">
  55. <ul class="rightContent">
  56. <li class="context1" v-for="(item, index) in pageData[0].data2" :key="index">
  57. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  58. {{ item.title }}
  59. </NuxtLink>
  60. </li>
  61. </ul>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="part1_right" v-if="pageData[1]">
  66. <div class="part1_right_title">
  67. <h2 class="part1_right_title1_active">
  68. <NuxtLink :href="getLinkPath(pageData[1])" v-if="pageData[1]" :title="pageData[1].alias">
  69. {{ pageData[1].alias }}
  70. </NuxtLink>
  71. <em class="active_bg"></em>
  72. </h2>
  73. </div>
  74. <div class="part1_right_content">
  75. <div class="part1_right_top11">
  76. <div class="part1_right_content_top" v-for="(item, index) in pageData[1].data" :key="index">
  77. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  78. <img :src="item.imgurl" alt="item.title">
  79. <span class="content_top_title2">{{ item.title }}</span>
  80. </NuxtLink>
  81. </div>
  82. </div>
  83. <!-- <div class="part1_right_content_top" v-for="(item, index) in pageData[1].data" :key="index">
  84. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  85. <img :src="item.imgurl" alt="item.title">
  86. <span class="content_top_title2">{{ item.title }}</span>
  87. </NuxtLink>
  88. </div> -->
  89. <ul class="part1_right_content_bottom">
  90. <li class="content_bottom_list" v-for="(item, index) in pageData[1].data1" :key="index">
  91. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  92. {{ item.title }}
  93. </NuxtLink>
  94. </li>
  95. </ul>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. <!-- 第二部分 -->
  101. <div class="part2">
  102. <div class="inner">
  103. <div class="part2_left" v-if="pageData[2]">
  104. <div class="part2_title">
  105. <h2 class="nav_part2_left">
  106. <NuxtLink :href="getLinkPath(pageData[2])" v-if="pageData[2]" :title="pageData[2].alias">
  107. {{ pageData[2].alias }}
  108. </NuxtLink>
  109. <em></em>
  110. </h2>
  111. </div>
  112. <div class="part2_content">
  113. <div class="part2_content_left">
  114. <ul class="content_a">
  115. <li class="context111" v-for="(item, index) in pageData[2].data2" :key="index">
  116. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  117. {{ item.title }}
  118. </NuxtLink>
  119. </li>
  120. </ul>
  121. </div>
  122. <div class="part2_content_right">
  123. <div class="right_top" v-for="(item, index) in pageData[2].data" :key="index">
  124. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  125. <img :src="item.imgurl" alt="item.title">
  126. <span class="title11">{{ item.title }}</span>
  127. </NuxtLink>
  128. </div>
  129. <div class="right_bottom">
  130. <div class="bottom_left" v-for="(item, index) in pageData[2].data1" :key="index">
  131. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  132. <img :src="item.imgurl" alt="item.title">
  133. <span class="title22">{{ item.title }}</span>
  134. </NuxtLink>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. </div>
  140. <div class="part2_right" v-if="pageData[3]">
  141. <div class="part2_right_title">
  142. <h2 class="part2_right_title1_active">
  143. <NuxtLink :href="getLinkPath(pageData[3])" v-if="pageData[3]" :title="pageData[3].alias">
  144. {{ pageData[3].alias }}
  145. </NuxtLink>
  146. <em class="active_bg11"></em>
  147. </h2>
  148. </div>
  149. <div class="part2_right_content">
  150. <div class="part2_right_top11">
  151. <div class="part2_right_content_top" v-for="(item, index) in pageData[3].data" :key="index">
  152. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  153. <img :src="item.imgurl" alt="item.title">
  154. <span class="content_top_title22">{{ item.title }}</span>
  155. </NuxtLink>
  156. </div>
  157. </div>
  158. <ul class="part2_right_content_bottom">
  159. <li class="content_bottom_list" v-for="(item, index) in pageData[3].data2" :key="index">
  160. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  161. {{ item.title }}
  162. </NuxtLink>
  163. </li>
  164. </ul>
  165. </div>
  166. </div>
  167. </div>
  168. </div>
  169. <!-- 广告二 -->
  170. <HomeAdvertising :imgurl="adImg2"></HomeAdvertising>
  171. <!-- 第二层 -->
  172. <div class="part3" v-if="pageData[4]">
  173. <div class="inner">
  174. <div class="part3_left">
  175. <div class="part3_left_top" v-if="pageData[4]">
  176. <div class="part3_leftTitle">
  177. <h2 class="part3_left_title">
  178. <NuxtLink :href="getLinkPath(pageData[4])" v-if="pageData[4]"
  179. :title="pageData[4].alias">
  180. {{ pageData[4].alias }}
  181. </NuxtLink>
  182. <em></em>
  183. </h2>
  184. </div>
  185. <div class="part3_left_content" v-if="pageData[4]">
  186. <div class="part3_left_content_top">
  187. <div class="content_top_left">
  188. <div class="part3_photo_text" v-for="(item, index) in pageData[4].data"
  189. :key="index">
  190. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  191. <img :src="item.imgurl" alt="item.title">
  192. <span class="part3_text">{{ item.title }}</span>
  193. </NuxtLink>
  194. <span class="littleTips">精选</span>
  195. </div>
  196. <ul class="part3_content">
  197. <li class="part3_content_list" v-for="(item, index) in pageData[4].data1"
  198. :key="index">
  199. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  200. {{ item.title }}
  201. </NuxtLink>
  202. </li>
  203. </ul>
  204. </div>
  205. <ul class="content_top_right">
  206. <li class="content_right_list" v-for="(item, index) in pageData[4].data1"
  207. :key="index">
  208. <NuxtLink to="#">
  209. <div class="part3_time">
  210. <span class="month">{{ getTime(item.updated_at, 'day', 1) }}</span>
  211. <span class="xiegang">/</span>
  212. <span class="day">{{ getTime(item.updated_at, 'month', 1) }}</span>
  213. </div>
  214. <div class="time_left_content">
  215. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  216. {{ item.title }}
  217. </NuxtLink>
  218. </div>
  219. </NuxtLink>
  220. </li>
  221. </ul>
  222. </div>
  223. </div>
  224. </div>
  225. <div class="part3_left_bottom" v-if="pageData[5] || pageData[6]">
  226. <div class="part3_leftTitle1">
  227. <h2 class="part3_left_title" v-if="pageData[5]" @mouseenter="tabsData = 1"
  228. :class="{ part3_left_title_active: tabsData == 1 }">
  229. <NuxtLink :href="getLinkPath(pageData[5])" @mouseenter="tabsData = 1"
  230. :class="{ active: tabsData == 1 }" :title="pageData[5].alias">
  231. {{ pageData[5].alias }}
  232. </NuxtLink>
  233. <em></em>
  234. </h2>
  235. <h2 class="part3_left_title" v-if="pageData[6]" @mouseenter="tabsData = 2"
  236. :class="{ part3_left_title_active: tabsData == 2 }">
  237. <NuxtLink :href="getLinkPath(pageData[6])" v-if="pageData[6]" @mouseenter="tabsData = 2"
  238. :class="{ active: tabsData == 2 }" :title="pageData[6].alias">
  239. {{ pageData[6].alias }}
  240. </NuxtLink>
  241. <em></em>
  242. </h2>
  243. </div>
  244. <div class="part3_left_content1" v-if="tabsData == 1">
  245. <div class="content_bottom_left">
  246. <div class="content_top" v-for="(item, index) in pageData[5].data" :key="index">
  247. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  248. <img :src="item.imgurl" alt="item.title">
  249. <span class="part3_text">{{ item.title }}</span>
  250. </NuxtLink>
  251. </div>
  252. <div class="content_bottom">
  253. <div class="content_bottom_1" v-for="(item, index) in pageData[5].data1"
  254. :key="index">
  255. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  256. <img :src="item.imgurl" alt="item.title">
  257. <span class="part3_text">{{ item.title }}</span>
  258. </NuxtLink>
  259. </div>
  260. </div>
  261. </div>
  262. <div class="content_bottom_right">
  263. <ul class="bottom_content_1">
  264. <li class="bottom_content_list" v-for="(item, index) in pageData[5].data2"
  265. :key="index">
  266. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  267. {{ item.title }}
  268. </NuxtLink>
  269. </li>
  270. </ul>
  271. </div>
  272. </div>
  273. <div class="part3_left_content1" v-if="tabsData == 2 && pageData[6].alias">
  274. <div class="content_bottom_left">
  275. <div class="content_top" v-for="(item, index) in pageData[6].data" :key="index">
  276. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  277. <img :src="item.imgurl" alt="item.title">
  278. <span class="part3_text">{{ item.title }}</span>
  279. </NuxtLink>
  280. </div>
  281. <div class="content_bottom">
  282. <div class="content_bottom_1" v-for="(item, index) in pageData[6].data1"
  283. :key="index">
  284. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  285. <img :src="item.imgurl" alt="item.title">
  286. <span class="part3_text">{{ item.title }}</span>
  287. </NuxtLink>
  288. </div>
  289. </div>
  290. </div>
  291. <div class="content_bottom_right">
  292. <ul class="bottom_content_1">
  293. <li class="bottom_content_list" v-for="(item, index) in pageData[6].data2"
  294. :key="index">
  295. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  296. {{ item.title }}
  297. </NuxtLink>
  298. </li>
  299. </ul>
  300. </div>
  301. </div>
  302. </div>
  303. </div>
  304. <div class="part3_right" v-if="pageData[7]">
  305. <div class="part3_rightTitle">
  306. <h2 class="part3_right_title">
  307. <NuxtLink :href="getLinkPath(pageData[7])" v-if="pageData[7]" :title="pageData[7].alias">
  308. {{ pageData[7].alias }}
  309. </NuxtLink>
  310. <em></em>
  311. </h2>
  312. <div class="rightMore">
  313. <NuxtLink to="#">更多》</NuxtLink>
  314. </div>
  315. </div>
  316. <ul class="part3_right_content_top" v-if="pageData[7].data1.length > 0">
  317. <li class="part3_right_contentlist_top" v-for="(item, index) in pageData[7].data1" :key="index">
  318. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  319. <span class="numStyle">{{ index + 1 }}</span>
  320. {{ item.title }}
  321. </NuxtLink>
  322. </li>
  323. </ul>
  324. <div class="part3_photo_text_right" v-if="pageData[7].data[0]">
  325. <NuxtLink :href="getLinkPathDetail(pageData[7].data[0])" :title="pageData[7].data[0].title">
  326. <span class="part3_text11">{{ pageData[7].data[0].title }}</span>
  327. <img :src="pageData[7].data[0].imgurl" :alt="pageData[7].data[0].title">
  328. </NuxtLink>
  329. </div>
  330. <ul class="part3_right_content_11" v-if="pageData[7].data2.length > 0">
  331. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data2" :key="index">
  332. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  333. {{ item.title }}
  334. </NuxtLink>
  335. </li>
  336. </ul>
  337. <div class="part3_photo_text_right" v-if="pageData[7].data[1]">
  338. <NuxtLink :href="getLinkPathDetail(pageData[7].data[1])" :title="pageData[7].data[1].title">
  339. <span class="part3_text11">{{ pageData[7].data[1].title }}</span>
  340. <img :src="pageData[7].data[1].imgurl" :alt="pageData[7].data[1].title">
  341. </NuxtLink>
  342. </div>
  343. <ul class="part3_right_content_11">
  344. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data3" :key="index">
  345. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  346. {{ item.title }}
  347. </NuxtLink>
  348. </li>
  349. </ul>
  350. <div class="part3_photo_text_right" v-if="pageData[7].data[2]">
  351. <NuxtLink :href="getLinkPathDetail(pageData[7].data[2])" :title="pageData[7].data[2].title">
  352. <span class="part3_text11">{{ pageData[7].data[2].title }}</span>
  353. <img :src="pageData[7].data[2].imgurl" :alt="pageData[7].data[2].title">
  354. </NuxtLink>
  355. </div>
  356. <ul class="part3_right_content_11">
  357. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data4" :key="index">
  358. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  359. {{ item.title }}
  360. </NuxtLink>
  361. </li>
  362. </ul>
  363. </div>
  364. </div>
  365. </div>
  366. <!-- 页脚部分 -->
  367. <HomeFoot1></HomeFoot1>
  368. </div>
  369. </template>
  370. <script setup>
  371. //0.加载页面依赖 start ---------------------------------------->
  372. import { ref, onMounted } from 'vue';
  373. //格式化跳转路径 - 标题
  374. //首页分类栏目标题,不需要考虑外链
  375. const getLinkPath = (item) => {
  376. // console.log('item111333',item)
  377. // return `/${item.url}/1.html`;
  378. // return `/newsList/${item.cid}?page=1`;
  379. return `/${item.aLIas_pinyin}/list-1.html`;
  380. }
  381. //首页跳转到详情,这里需要考虑外链
  382. const getLinkPathDetail = (item) => {
  383. // console.log('item111222', item)
  384. if (item.islink == 1) {
  385. return `${item.linkurl}`;
  386. } else {
  387. //return `/${item.aLIas_pinyin}/${item.id}`;
  388. // return `/newsDetail/${item.id}?page=1`
  389. return `/${item.pinyin}/${item.id}.html`;
  390. }
  391. }
  392. //0.加载页面依赖 end ---------------------------------------->
  393. //1.获得路由id start ---------------------------------------->
  394. const route = useRoute();
  395. //获得当前的完整路径
  396. const fullPath = route.path;
  397. //拆分,取出来中间这一段,然后提取数字部分
  398. const segments = fullPath.split('/');
  399. const targetSegment = segments[1];
  400. //let routeId = 11 //排除路径错误可以打开这个
  401. //const numberPart = targetSegment.match(/\d+$/)?.[0];
  402. //let routeId = numberPart;
  403. let routeId;
  404. //通过导航路径反向查询导航id
  405. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  406. method: 'GET',
  407. query: {
  408. 'pinyin': targetSegment,
  409. },
  410. });
  411. if (getRouteId.code == 200) {
  412. routeId = getRouteId.data.category_id
  413. } else {
  414. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  415. console.log("错误位置:通过url路径查询导航池id")
  416. console.log("后端错误反馈:", getRouteId.message)
  417. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  418. }
  419. //1.获得路由id end ---------------------------------------->
  420. //2.页面交互效果 start ---------------------------------------->
  421. //2.1
  422. const title = ref("")
  423. const tabsData = ref(1)
  424. async function getPageDataTitle() {
  425. const mkdata = await requestDataPromise('/web/getOneWebsiteCategory', {
  426. method: 'GET',
  427. query: {
  428. 'catid': routeId,
  429. },
  430. });
  431. if (mkdata.code == 200) {
  432. title.value = mkdata.data.alias;
  433. } else {
  434. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  435. console.log("错误位置:获取二级标题")
  436. console.log("后端错误反馈:", mkdata.message)
  437. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  438. }
  439. }
  440. getPageDataTitle();
  441. //2.1 新闻图片切换
  442. const hoverStatus = ref(0)
  443. const qhPic = function (num) {
  444. console.log(num)
  445. hoverStatus.value = num;
  446. }
  447. //2.2 选项卡切换
  448. let showTabs = ref(1)
  449. let qhtabs = function (number) {
  450. console.log(number)
  451. showTabs.value = number
  452. }
  453. //2.3 展示广告
  454. let adImg1 = ref({})
  455. let adImg2 = ref({})
  456. let adImg3 = ref({})
  457. let adImg4 = ref({})
  458. onMounted(async () => {
  459. //从客户端获取行政职能部门 加快打开速度
  460. const { $webUrl, $CwebUrl } = useNuxtApp();
  461. //广告1
  462. let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0001`
  463. const responseAd1 = await fetch(url, {
  464. headers: {
  465. 'Content-Type': 'application/json',
  466. 'Userurl': $CwebUrl,
  467. 'Origin': $CwebUrl
  468. }
  469. });
  470. const resultAd1 = await responseAd1.json();
  471. adImg1.value = resultAd1.data[0];
  472. //广告2
  473. let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0002`
  474. const responseAd2 = await fetch(url2, {
  475. headers: {
  476. 'Content-Type': 'application/json',
  477. 'Userurl': $CwebUrl,
  478. 'Origin': $CwebUrl
  479. }
  480. });
  481. const resultAd2 = await responseAd2.json();
  482. adImg2.value = resultAd2.data[0];
  483. //广告3
  484. let url3 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0003`
  485. const responseAd3 = await fetch(url3, {
  486. headers: {
  487. 'Content-Type': 'application/json',
  488. 'Userurl': $CwebUrl,
  489. 'Origin': $CwebUrl
  490. }
  491. });
  492. const resultAd3 = await responseAd3.json();
  493. adImg3.value = resultAd3.data[0];
  494. //广告4
  495. let url4 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0004`
  496. const responseAd4 = await fetch(url4, {
  497. headers: {
  498. 'Content-Type': 'application/json',
  499. 'Userurl': $CwebUrl,
  500. 'Origin': $CwebUrl
  501. }
  502. });
  503. const resultAd4 = await responseAd4.json();
  504. adImg4.value = resultAd4.data[0];
  505. })
  506. //2.页面交互效果 end ---------------------------------------->
  507. //3.渲染页面数据 start ---------------------------------------->
  508. //3.1 该页面上所有的导航池 转为动态数据
  509. const pageCategory = ref([]);
  510. //3.2 该页面上需要渲染的所有数据
  511. const pageData = ref([
  512. // { id: 0, data: [], data2: [], title: "", cid: "" },
  513. // { id: 1, data: [], title: "", cid: "" },
  514. // { id: 2, data: [], title: "", cid: "" },
  515. // { id: 3, data: [], title: "", cid: "" },
  516. // { id: 4, data: [], title: "", cid: "" },
  517. // { id: 5, data: [], title: "", cid: "" },
  518. // { id: 6, data: [], title: "", cid: "" },
  519. // { id: 7, data: [], title: "", cid: "" },
  520. // { id: 8, data: [], title: "", cid: "" },
  521. ])
  522. const navSize = ref("");
  523. //3.3 获取所有导航
  524. try {
  525. const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
  526. method: 'GET',
  527. query: {
  528. 'placeid': 1,
  529. 'pid': routeId,
  530. 'num': 8
  531. },
  532. });
  533. if (navigateData.code == 200) {
  534. // 遍历可用的导航池放到页面中
  535. for (let index in navigateData.data) {
  536. let data = {
  537. title: navigateData.data[index].name,
  538. cid: navigateData.data[index].category_id,
  539. children_count: navigateData.data[index].children_count,
  540. alias: navigateData.data[index].alias,
  541. aLIas_pinyin: targetSegment + "/" + navigateData.data[index].aLIas_pinyin,
  542. data: [],
  543. data1: [],
  544. data2: [],
  545. data3: [],
  546. data4: [],
  547. category_id1: "",
  548. category_id2: "",
  549. category_id3: "",
  550. category_id4: "",
  551. title1: "",
  552. title2: "",
  553. title3: "",
  554. title4: ""
  555. };
  556. if (navigateData.data[index].is_url == 1) {
  557. // 处理 URL 的逻辑
  558. } else {
  559. //每个页面最多8个模块
  560. pageData.value.push(data);
  561. }
  562. }
  563. //导航池加载完毕,开始申请模块数据
  564. // await getPageData1();
  565. // await getPageData2();
  566. // await getPageData3();
  567. // await getPageData4();
  568. // await getPageData5();
  569. // await getPageData6();
  570. // await getPageData7();
  571. // await getPageData8();
  572. let getJson = [
  573. // { "parent": routeId + ",0,0", "child": pageData.value[0].cid + ",3,10" },//模块1理论前沿
  574. // { "parent": routeId + ",0,0", "child": pageData.value[1].cid + ",2,6" },//模块2典型经验
  575. // { "parent": routeId + ",0,0", "child": pageData.value[2].cid + ",3,10" },//模块3农业天地
  576. // { "parent": routeId + ",0,0", "child": pageData.value[3].cid + ",2,6" },//模块4美丽乡村
  577. // { "parent": routeId + ",0,0", "child": pageData.value[4].cid + ",1,10" },//模块5农民之家
  578. // { "parent": routeId + ",0,0", "child": pageData.value[5].cid + ",3,10" },//模块6农业天地
  579. // { "parent": routeId + ",0,0", "child": pageData.value[6].cid + ",3,10" },//模块7农村建设
  580. // { "parent": routeId + ",0,0", "child": pageData.value[7].cid + ",3,13" },//模块8高端资讯
  581. ]
  582. for (let i = 0; i < pageData.value.length; i++) {
  583. if (i == 0) {
  584. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  585. } else if (i == 1) {
  586. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",2,6" });
  587. } else if (i == 2) {
  588. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  589. } else if (i == 3) {
  590. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",2,6" });
  591. } else if (i == 4) {
  592. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",1,10" });
  593. } else if (i == 5) {
  594. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  595. } else if (i == 6) {
  596. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  597. } else if (i == 7) {
  598. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,13" });
  599. }
  600. }
  601. let jsonString = JSON.stringify(getJson);
  602. getPageAllData(jsonString);
  603. } else {
  604. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  605. console.log("错误位置:分类页导航池")
  606. console.log("后端错误反馈:", navigateData.message)
  607. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  608. }
  609. } catch (error) {
  610. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  611. console.log("错误位置:分类页导航渲染阶段")
  612. console.log("错误:导航池渲染执行接口出错!请检查首页的14的模块的具体执行方法!")
  613. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  614. }
  615. async function getPageAllData(jsonString) {
  616. const mkdata = await requestDataPromise('/web/getWebsiteAllArticle', {
  617. method: 'GET',
  618. query: {
  619. 'id': jsonString
  620. },
  621. });
  622. if (mkdata.code == 200) {
  623. console.log(778899)
  624. console.log(mkdata.data)
  625. //模块1理论前沿
  626. if (mkdata.data[0].child.imgnum.length > 0) {
  627. pageData.value[0].data.push(mkdata.data[0].child.imgnum[0]);
  628. }
  629. if (mkdata.data[0].child.imgnum.length > 1) {
  630. pageData.value[0].data1.push(mkdata.data[0].child.imgnum[1]);
  631. }
  632. if (mkdata.data[0].child.imgnum.length > 2) {
  633. pageData.value[0].data1.push(mkdata.data[0].child.imgnum[2]);
  634. }
  635. pageData.value[0].data2 = mkdata.data[0].child.textnum;
  636. //模块2典型经验
  637. pageData.value[1].data = mkdata.data[1].child.imgnum;
  638. pageData.value[1].data1 = mkdata.data[1].child.textnum;
  639. //模块3农业天地
  640. if (mkdata.data[2].child.imgnum.length > 0) {
  641. pageData.value[2].data.push(mkdata.data[2].child.imgnum[0]);
  642. }
  643. if (mkdata.data[2].child.imgnum.length > 1) {
  644. pageData.value[2].data1.push(mkdata.data[2].child.imgnum[1]);
  645. }
  646. if (mkdata.data[2].child.imgnum.length > 2) {
  647. pageData.value[2].data1.push(mkdata.data[2].child.imgnum[2]);
  648. }
  649. pageData.value[2].data2 = mkdata.data[2].child.textnum;
  650. //模块4美丽乡村
  651. pageData.value[3].data = mkdata.data[3].child.imgnum;
  652. pageData.value[3].data2 = mkdata.data[3].child.textnum;
  653. //模块5农民之家
  654. pageData.value[4].data = mkdata.data[4].child.imgnum;
  655. for (let i in mkdata.data[4].child.textnum) {
  656. if (i < 5) {
  657. pageData.value[4].data1.push(mkdata.data[4].child.textnum[i]);
  658. } else {
  659. pageData.value[4].data2.push(mkdata.data[4].child.textnum[i]);
  660. }
  661. }
  662. //模块6农业天地
  663. if (mkdata.data[5].child.imgnum.length > 0) {
  664. pageData.value[5].data.push(mkdata.data[5].child.imgnum[0]);
  665. }
  666. if (mkdata.data[5].child.imgnum.length > 1) {
  667. pageData.value[5].data1.push(mkdata.data[5].child.imgnum[1]);
  668. }
  669. if (mkdata.data[5].child.imgnum.length > 2) {
  670. pageData.value[5].data1.push(mkdata.data[5].child.imgnum[2]);
  671. }
  672. pageData.value[5].data2 = mkdata.data[5].child.textnum;
  673. //模块7农村建设
  674. if (mkdata.data[6].child.imgnum.length > 0) {
  675. pageData.value[6].data.push(mkdata.data[6].child.imgnum[0]);
  676. }
  677. if (mkdata.data[6].child.imgnum.length > 1) {
  678. pageData.value[6].data1.push(mkdata.data[6].child.imgnum[1]);
  679. }
  680. if (mkdata.data[6].child.imgnum.length > 2) {
  681. pageData.value[6].data1.push(mkdata.data[6].child.imgnum[2]);
  682. }
  683. pageData.value[6].data2 = mkdata.data[6].child.textnum;
  684. //模块8高端资讯
  685. pageData.value[7].data2 = mkdata.data[7].child.imgnum;
  686. for (let i in mkdata.data[4].child.textnum) {
  687. if (i < 7) {
  688. pageData.value[7].data1.push(mkdata.data[4].child.textnum[i]);
  689. } else if (i < 9) {
  690. pageData.value[7].data2.push(mkdata.data[4].child.textnum[i]);
  691. } else if (i < 11) {
  692. pageData.value[7].data3.push(mkdata.data[4].child.textnum[i]);
  693. } else {
  694. pageData.value[7].data4.push(mkdata.data[4].child.textnum[i]);
  695. }
  696. }
  697. } else {
  698. ElMessage.error(mkdata.message)
  699. }
  700. }
  701. //获得模块数据
  702. // async function getPageData(catid, img_num, text_num, modulesNum, childNavNum, childImgNum, childTextNum) {
  703. // const mkdata = await requestDataPromise('/web/getWebsiteCatidArticle', {
  704. // method: 'GET',
  705. // query: {
  706. // 'catid': catid, //catid
  707. // 'img_num': img_num, //图片数量
  708. // 'text_num': text_num, //文字数量
  709. // 'child_catnum': childNavNum,//子级栏目菜单数量
  710. // 'child_imgnum': childImgNum,//子栏目展示图片新闻数量
  711. // 'child_textnum': childTextNum//子栏目展示文字新闻数量
  712. // },
  713. // });
  714. // if (modulesNum == 1) {
  715. // for (let i in mkdata.data.img) {
  716. // if (i < 1) {
  717. // pageData.value[0].data.push(mkdata.data.img[i]);
  718. // } else {
  719. // pageData.value[0].data1.push(mkdata.data.img[i]);
  720. // }
  721. // }
  722. // pageData.value[0].data2 = mkdata.data.text;
  723. // }
  724. // if (modulesNum == 2) {
  725. // pageData.value[1].data = mkdata.data.img;
  726. // pageData.value[1].data1 = mkdata.data.text;
  727. // }
  728. // if (modulesNum == 3) {
  729. // for (let i in mkdata.data.img) {
  730. // if (i < 1) {
  731. // pageData.value[2].data.push(mkdata.data.img[i]);
  732. // } else {
  733. // pageData.value[2].data1.push(mkdata.data.img[i]);
  734. // }
  735. // }
  736. // pageData.value[2].data2 = mkdata.data.text;
  737. // }
  738. // if (modulesNum == 4) {
  739. // pageData.value[3].data = mkdata.data.img;
  740. // pageData.value[3].data2 = mkdata.data.text;
  741. // }
  742. // //模块5
  743. // if (modulesNum == 5) {
  744. // pageData.value[4].data = mkdata.data.img;
  745. // for (let i in mkdata.data.text) {
  746. // if (i < 5) {
  747. // pageData.value[4].data1.push(mkdata.data.text[i]);
  748. // } else {
  749. // pageData.value[4].data2.push(mkdata.data.text[i]);
  750. // }
  751. // }
  752. // }
  753. // if (modulesNum == 6) {
  754. // for (let i in mkdata.data.img) {
  755. // if (i < 1) {
  756. // pageData.value[5].data.push(mkdata.data.img[i]);
  757. // } else {
  758. // pageData.value[5].data1.push(mkdata.data.img[i]);
  759. // }
  760. // }
  761. // pageData.value[5].data2 = mkdata.data.text;
  762. // }
  763. // if (modulesNum == 7) {
  764. // for (let i in mkdata.data.img) {
  765. // if (i < 1) {
  766. // pageData.value[6].data.push(mkdata.data.img[i]);
  767. // } else {
  768. // pageData.value[6].data1.push(mkdata.data.img[i]);
  769. // }
  770. // }
  771. // pageData.value[6].data2 = mkdata.data.text;
  772. // }
  773. // //模块8
  774. // if (modulesNum == 8) {
  775. // pageData.value[7].data = mkdata.data.img;
  776. // for (let i in mkdata.data.text) {
  777. // if (i < 7) {
  778. // pageData.value[7].data1.push(mkdata.data.text[i]);
  779. // } else if (i < 9) {
  780. // pageData.value[7].data2.push(mkdata.data.text[i]);
  781. // } else if (i < 11) {
  782. // pageData.value[7].data3.push(mkdata.data.text[i]);
  783. // } else {
  784. // pageData.value[7].data4.push(mkdata.data.text[i]);
  785. // }
  786. // }
  787. // }
  788. // }
  789. //新农村
  790. //模块1 理论前沿
  791. // async function getPageData1() {
  792. // await getPageData(pageData.value[0].cid, 3, 10, 1, 0, 0, 0);
  793. // }
  794. // //模块2 典型经验
  795. // async function getPageData2() {
  796. // await getPageData(pageData.value[1].cid, 2, 6, 2, 0, 0, 0);
  797. // }
  798. // //模块3 农业天地
  799. // async function getPageData3() {
  800. // await getPageData(pageData.value[2].cid, 3, 10, 3, 0, 0, 0);
  801. // }
  802. // //模块4 美丽乡村
  803. // async function getPageData4() {
  804. // await getPageData(pageData.value[3].cid, 2, 6, 4, 0, 0, 0);
  805. // }
  806. // //模块5 农民之家
  807. // async function getPageData5() {
  808. // await getPageData(pageData.value[4].cid, 1, 10, 5, 0, 0, 0);
  809. // }
  810. // //模块6 农业天地
  811. // async function getPageData6() {
  812. // await getPageData(pageData.value[5].cid, 3, 10, 6, 0, 0, 0);
  813. // }
  814. // //模块7 农村建设
  815. // async function getPageData7() {
  816. // await getPageData(pageData.value[6].cid, 3, 10, 7, 0, 0, 0);
  817. // }
  818. // //模块8 高端资讯
  819. // async function getPageData8() {
  820. // await getPageData(pageData.value[7].cid, 3, 13, 8, 0, 0, 0);
  821. // }
  822. // 注意,为了保持模块的数量,当前固定为8个
  823. // 所以这里的农业天地,合并了原来是下面的7号模块
  824. // 而原本是7号模块的地方现在变成了8号模块
  825. //3.渲染页面数据 end ---------------------------------------->
  826. //4.设置seo信息 start---------------------------------------->
  827. //4.1 设置seo信息
  828. const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
  829. method: 'GET',
  830. query: {
  831. 'catid': routeId
  832. },
  833. });
  834. if (setData.code == 200) {
  835. let seoTitle = setData.data.seo_title;
  836. let seoDescription = setData.data.seo_description;
  837. let seoKeywords = setData.data.seo_keywords;
  838. let seoSuffix = setData.data.suffix;
  839. let seoName = setData.data.website_name;
  840. useSeoMeta({
  841. title: seoTitle + "_" + seoSuffix,
  842. meta: [
  843. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  844. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
  845. ]
  846. });
  847. } else {
  848. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  849. console.log("错误位置:设置分类页面SEO数据")
  850. console.log("后端错误反馈:", setData.message)
  851. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  852. }
  853. //4.设置seo信息 end---------------------------------------->
  854. //5. 获取日期中单独的年 月 日 start--------------------------->
  855. function getTime(date, part, digits) {
  856. const d = new Date(date);
  857. if (part === 'year') {
  858. let year = d.getFullYear();
  859. if (digits === 2) {
  860. return String(year).slice(-2);
  861. }
  862. return year;
  863. } else if (part === 'month') {
  864. let month = d.getMonth() + 1;
  865. if (digits === 2) {
  866. return String(month).padStart(2, '0');
  867. }
  868. if (month < 10) {
  869. month = '0' + month;
  870. } else {
  871. month = month;
  872. }
  873. return month;
  874. } else if (part === 'day') {
  875. let day = d.getDate();
  876. if (digits === 2) {
  877. return String(day).padStart(2, '0');
  878. }
  879. return day;
  880. }
  881. return null;
  882. }
  883. //5. 获取日期中单独的年 月 日 end------------------------------>
  884. </script>
  885. <style lang="less" scoped>
  886. // 一级标题
  887. .nav1 {
  888. width: 100%;
  889. height: 214px;
  890. background: #fff;
  891. .inner {
  892. width: 1200px;
  893. height: 214px;
  894. margin: 0 auto;
  895. .nav1_title {
  896. width: 1120px;
  897. height: 214px;
  898. margin-left: 40px;
  899. line-height: 217px;
  900. text-align: center;
  901. font-family: DingTalk JinBuTi, DingTalk JinBuTi;
  902. font-weight: 400;
  903. font-size: 50px;
  904. color: #6D2512;
  905. background: url(/_nuxt/public/index/title_bg.png) no-repeat 0;
  906. }
  907. }
  908. }
  909. .nav2top {
  910. width: 1250px;
  911. height: 3px;
  912. margin: 0 auto;
  913. background-color: #a01c0e;
  914. }
  915. .nav2btm {
  916. width: 1200px;
  917. height: 3px;
  918. margin: 0 auto;
  919. background-color: #a01c0e;
  920. }
  921. .nav2 {
  922. width: 100%;
  923. height: 48px;
  924. background-color: #a01c0e;
  925. .inner {
  926. width: 1250px;
  927. height: 48px;
  928. line-height: 48px;
  929. padding: 0 45px;
  930. margin: 0 auto;
  931. box-sizing: border-box;
  932. display: flex;
  933. // justify-content: space-between;
  934. .titleList {
  935. font-family: Microsoft YaHei, Microsoft YaHei;
  936. font-weight: bold;
  937. font-size: 14px;
  938. color: #FFFFFF;
  939. .nav2_title {
  940. display: inline-block;
  941. font-family: Microsoft YaHei, Microsoft YaHei;
  942. font-weight: bold;
  943. font-size: 14px;
  944. color: #FFFFFF;
  945. }
  946. a {
  947. padding: 0 38px;
  948. color: #FFFFFF;
  949. border-left: 1px solid #7E1C11;
  950. }
  951. //鼠标点击后的样式
  952. .nav2_title_active {
  953. display: inline-block;
  954. font-family: Microsoft YaHei, Microsoft YaHei;
  955. font-weight: bold;
  956. font-size: 14px;
  957. color: #FFFFFF;
  958. border-bottom: 1px solid #FFFFFF;
  959. }
  960. }
  961. .titleList:hover {
  962. a {
  963. color: #a01c0e;
  964. .nav2_title {
  965. border-bottom: 1px solid #FFFFFF;
  966. }
  967. }
  968. }
  969. .home {
  970. width: 100px;
  971. font-family: Microsoft YaHei, Microsoft YaHei;
  972. font-weight: bold;
  973. font-size: 14px;
  974. color: #F8ECD2;
  975. }
  976. }
  977. }
  978. //第一部分
  979. .part1 {
  980. width: 100%;
  981. height: 585px;
  982. margin-top: 35px;
  983. .inner {
  984. width: 1200px;
  985. margin: 0 auto;
  986. .part1_left {
  987. float: left;
  988. width: 720px;
  989. .part1_title {
  990. width: 720px;
  991. height: 50px;
  992. line-height: 50px;
  993. .nav_part1_left {
  994. float: left;
  995. font-family: Microsoft YaHei, Microsoft YaHei;
  996. font-weight: 400;
  997. font-size: 20px;
  998. color: #333333;
  999. position: relative;
  1000. a {
  1001. color: #333333;
  1002. }
  1003. em {
  1004. display: inline-block;
  1005. width: 8px;
  1006. height: 8px;
  1007. background-color: #a01c0e;
  1008. border-radius: 4px;
  1009. position: absolute;
  1010. top: 5px;
  1011. }
  1012. }
  1013. }
  1014. .part1_content {
  1015. width: 720px;
  1016. margin-top: 20px;
  1017. .context_left {
  1018. float: left;
  1019. width: 350px;
  1020. .top {
  1021. width: 350px;
  1022. img {
  1023. width: 350px;
  1024. height: 230px;
  1025. }
  1026. a .title1 {
  1027. margin-top: 15px;
  1028. width: 350px;
  1029. height: 48px;
  1030. display: -webkit-box;
  1031. -webkit-box-orient: vertical;
  1032. -webkit-line-clamp: 2;
  1033. overflow: hidden;
  1034. text-overflow: ellipsis;
  1035. word-break: break-all;
  1036. font-family: Microsoft YaHei, Microsoft YaHei;
  1037. font-weight: bold;
  1038. font-size: 18px;
  1039. color: #333333;
  1040. }
  1041. }
  1042. .top:hover {
  1043. a .title1 {
  1044. color: #a01c0e;
  1045. }
  1046. }
  1047. .bottom {
  1048. width: 350px;
  1049. margin-top: 25px;
  1050. .bottom_left {
  1051. float: left;
  1052. width: 165px;
  1053. img {
  1054. width: 165px;
  1055. height: 96px;
  1056. }
  1057. a .title2 {
  1058. margin-top: 10px;
  1059. width: 165px;
  1060. height: 48px;
  1061. display: -webkit-box;
  1062. -webkit-box-orient: vertical;
  1063. -webkit-line-clamp: 2;
  1064. overflow: hidden;
  1065. text-overflow: ellipsis;
  1066. word-break: break-all;
  1067. font-family: Microsoft YaHei, Microsoft YaHei;
  1068. font-weight: 400;
  1069. font-size: 18px;
  1070. color: #333333;
  1071. }
  1072. }
  1073. .bottom_left:first-child {
  1074. margin-right: 20px;
  1075. }
  1076. }
  1077. .bottom_left:hover {
  1078. a .title2 {
  1079. color: #a01c0e;
  1080. }
  1081. }
  1082. }
  1083. .context_right {
  1084. float: right;
  1085. width: 350px;
  1086. .rightContent {
  1087. width: 350px;
  1088. height: 230px;
  1089. .context1:nth-child(5n+1) {
  1090. width: 345px;
  1091. white-space: nowrap;
  1092. overflow: hidden;
  1093. text-overflow: ellipsis;
  1094. font-family: Microsoft YaHei, Microsoft YaHei;
  1095. font-weight: bold;
  1096. font-size: 18px;
  1097. color: #333333;
  1098. a {
  1099. color: #333333;
  1100. }
  1101. }
  1102. .context1:nth-child(5n+1):hover a {
  1103. color: #a01c0e;
  1104. }
  1105. .context1 {
  1106. margin-bottom: 27px;
  1107. width: 345px;
  1108. white-space: nowrap;
  1109. overflow: hidden;
  1110. text-overflow: ellipsis;
  1111. font-family: Microsoft YaHei, Microsoft YaHei;
  1112. font-weight: 400;
  1113. font-size: 18px;
  1114. color: #333333;
  1115. a {
  1116. color: #333333;
  1117. }
  1118. }
  1119. .context1:hover a {
  1120. color: #a01c0e;
  1121. }
  1122. }
  1123. }
  1124. }
  1125. }
  1126. .part1_right {
  1127. float: right;
  1128. width: 450px;
  1129. // height: 1000px;
  1130. .part1_right_title {
  1131. width: 450px;
  1132. height: 50px;
  1133. line-height: 50px;
  1134. .part1_right_title1_active {
  1135. float: left;
  1136. margin-right: 40px;
  1137. font-family: Microsoft YaHei, Microsoft YaHei;
  1138. font-weight: 400;
  1139. font-size: 20px;
  1140. color: #333333;
  1141. position: relative;
  1142. a {
  1143. color: #333333;
  1144. }
  1145. .active_bg {
  1146. display: inline-block;
  1147. width: 8px;
  1148. height: 8px;
  1149. background-color: #a01c0e;
  1150. border-radius: 4px;
  1151. position: absolute;
  1152. top: 7px;
  1153. right: -5px;
  1154. }
  1155. }
  1156. .part1_right_title1 {
  1157. float: left;
  1158. margin-right: 40px;
  1159. font-family: Microsoft YaHei, Microsoft YaHei;
  1160. font-weight: 400;
  1161. font-size: 20px;
  1162. color: #999999;
  1163. position: relative;
  1164. a {
  1165. color: #999999;
  1166. }
  1167. }
  1168. }
  1169. .part1_right_content {
  1170. width: 450px;
  1171. // height: 940px;
  1172. margin-top: 20px;
  1173. .part1_right_top11 {
  1174. width: 450px;
  1175. height: 180px;
  1176. position: relative;
  1177. .part1_right_content_top {
  1178. float: left;
  1179. width: 220px;
  1180. height: 180px;
  1181. a img {
  1182. width: 220px;
  1183. height: 130px;
  1184. }
  1185. a .content_top_title2 {
  1186. display: inline-block;
  1187. width: 220px;
  1188. padding: 0 10px;
  1189. box-sizing: border-box;
  1190. white-space: nowrap;
  1191. overflow: hidden;
  1192. text-overflow: ellipsis;
  1193. font-family: Microsoft YaHei, Microsoft YaHei;
  1194. font-weight: 400;
  1195. font-size: 18px;
  1196. color: #333333;
  1197. margin-top: 10px;
  1198. }
  1199. }
  1200. .part1_right_content_top:hover {
  1201. a .content_top_title2 {
  1202. color: #a01c0e;
  1203. }
  1204. }
  1205. .part1_right_content_top:nth-child(2) {
  1206. margin-left: 10px;
  1207. }
  1208. }
  1209. .part1_right_content_bottom {
  1210. width: 450px;
  1211. height: 300px;
  1212. margin-top: 15px;
  1213. overflow: hidden;
  1214. .content_bottom_list {
  1215. width: 450px;
  1216. height: 22px;
  1217. line-height: 21px;
  1218. white-space: nowrap;
  1219. overflow: hidden;
  1220. text-overflow: ellipsis;
  1221. margin-bottom: 28px;
  1222. font-family: Microsoft YaHei, Microsoft YaHei;
  1223. font-weight: 400;
  1224. font-size: 18px;
  1225. color: #333333;
  1226. a {
  1227. color: #333333;
  1228. }
  1229. }
  1230. .content_bottom_list:hover {
  1231. a {
  1232. color: #a01c0e;
  1233. }
  1234. }
  1235. }
  1236. }
  1237. }
  1238. }
  1239. }
  1240. //第二部分
  1241. .part2 {
  1242. width: 100%;
  1243. overflow: hidden;
  1244. // margin-bottom: 40px;
  1245. .inner {
  1246. width: 1200px;
  1247. margin: 0 auto;
  1248. .part2_left {
  1249. float: left;
  1250. width: 720px;
  1251. .part2_title {
  1252. width: 720px;
  1253. height: 50px;
  1254. line-height: 50px;
  1255. .nav_part2_left {
  1256. float: left;
  1257. width: 100px;
  1258. font-family: Microsoft YaHei, Microsoft YaHei;
  1259. font-weight: 400;
  1260. font-size: 20px;
  1261. color: #333333;
  1262. position: relative;
  1263. a {
  1264. color: #333333;
  1265. }
  1266. em {
  1267. display: inline-block;
  1268. width: 8px;
  1269. height: 8px;
  1270. background-color: #a01c0e;
  1271. border-radius: 4px;
  1272. position: absolute;
  1273. top: 9px;
  1274. right: 6px;
  1275. }
  1276. }
  1277. }
  1278. .part2_content {
  1279. width: 720px;
  1280. margin-top: 20px;
  1281. .part2_content_left {
  1282. float: left;
  1283. width: 350px;
  1284. .content_a {
  1285. width: 350px;
  1286. height: 230px;
  1287. // margin-bottom: 25px;
  1288. .context111:nth-child(5n+1) {
  1289. width: 345px;
  1290. white-space: nowrap;
  1291. overflow: hidden;
  1292. text-overflow: ellipsis;
  1293. font-family: Microsoft YaHei, Microsoft YaHei;
  1294. font-weight: bold;
  1295. font-size: 18px;
  1296. color: #333333;
  1297. a {
  1298. color: #333333;
  1299. }
  1300. }
  1301. .context111 {
  1302. margin-bottom: 27px;
  1303. width: 345px;
  1304. white-space: nowrap;
  1305. overflow: hidden;
  1306. text-overflow: ellipsis;
  1307. font-family: Microsoft YaHei, Microsoft YaHei;
  1308. font-weight: 400;
  1309. font-size: 18px;
  1310. color: #333333;
  1311. a {
  1312. color: #333333;
  1313. }
  1314. }
  1315. .context111:hover a {
  1316. color: #a01c0e;
  1317. }
  1318. }
  1319. }
  1320. .part2_content_right {
  1321. float: right;
  1322. width: 350px;
  1323. height: 480px;
  1324. .right_top {
  1325. width: 350px;
  1326. height: 300px;
  1327. a img {
  1328. width: 350px;
  1329. height: 230px;
  1330. }
  1331. a .title11 {
  1332. margin-top: 15px;
  1333. width: 350px;
  1334. height: 48px;
  1335. display: -webkit-box;
  1336. -webkit-box-orient: vertical;
  1337. -webkit-line-clamp: 2;
  1338. overflow: hidden;
  1339. text-overflow: ellipsis;
  1340. word-break: break-all;
  1341. font-family: Microsoft YaHei, Microsoft YaHei;
  1342. font-weight: bold;
  1343. font-size: 18px;
  1344. color: #333333;
  1345. }
  1346. }
  1347. .right_top:hover {
  1348. color: #a01c0e;
  1349. a .title11 {
  1350. color: #a01c0e;
  1351. }
  1352. }
  1353. .right_bottom {
  1354. width: 350px;
  1355. height: 165px;
  1356. margin-top: 20px;
  1357. .bottom_left {
  1358. float: left;
  1359. width: 165px;
  1360. height: 130px;
  1361. a img {
  1362. width: 165px;
  1363. height: 96px;
  1364. }
  1365. a .title22 {
  1366. margin-top: 10px;
  1367. width: 165px;
  1368. height: 48px;
  1369. display: -webkit-box;
  1370. -webkit-box-orient: vertical;
  1371. -webkit-line-clamp: 2;
  1372. overflow: hidden;
  1373. text-overflow: ellipsis;
  1374. word-break: break-all;
  1375. font-family: Microsoft YaHei, Microsoft YaHei;
  1376. font-weight: 400;
  1377. font-size: 18px;
  1378. color: #333333;
  1379. }
  1380. }
  1381. .bottom_left:hover {
  1382. color: #a01c0e;
  1383. a .title22 {
  1384. color: #a01c0e;
  1385. }
  1386. }
  1387. .bottom_left:first-child {
  1388. margin-right: 20px;
  1389. }
  1390. }
  1391. }
  1392. }
  1393. }
  1394. .part2_right {
  1395. float: right;
  1396. width: 450px;
  1397. // height: 1000px;
  1398. .part2_right_title {
  1399. width: 450px;
  1400. height: 50px;
  1401. line-height: 50px;
  1402. .part2_right_title1_active {
  1403. float: left;
  1404. margin-right: 40px;
  1405. font-family: Microsoft YaHei, Microsoft YaHei;
  1406. font-weight: 400;
  1407. font-size: 20px;
  1408. color: #333333;
  1409. position: relative;
  1410. a {
  1411. color: #333333;
  1412. }
  1413. .active_bg11 {
  1414. display: inline-block;
  1415. width: 8px;
  1416. height: 8px;
  1417. background-color: #a01c0e;
  1418. border-radius: 4px;
  1419. position: absolute;
  1420. top: 7px;
  1421. right: -5px;
  1422. }
  1423. }
  1424. .part2_right_title1 {
  1425. float: left;
  1426. margin-right: 40px;
  1427. font-family: Microsoft YaHei, Microsoft YaHei;
  1428. font-weight: 400;
  1429. font-size: 20px;
  1430. color: #999999;
  1431. position: relative;
  1432. a {
  1433. color: #999999;
  1434. }
  1435. }
  1436. }
  1437. .part2_right_content {
  1438. width: 450px;
  1439. margin-top: 20px;
  1440. .part2_right_top11 {
  1441. width: 450px;
  1442. height: 170px;
  1443. position: relative;
  1444. .part2_right_content_top {
  1445. float: left;
  1446. width: 220px;
  1447. height: 180px;
  1448. a img {
  1449. width: 220px;
  1450. height: 130px;
  1451. }
  1452. a .content_top_title22 {
  1453. display: inline-block;
  1454. width: 220px;
  1455. padding: 0 10px;
  1456. box-sizing: border-box;
  1457. white-space: nowrap;
  1458. overflow: hidden;
  1459. text-overflow: ellipsis;
  1460. font-family: Microsoft YaHei, Microsoft YaHei;
  1461. font-weight: 400;
  1462. font-size: 18px;
  1463. color: #333333;
  1464. margin-top: 10px;
  1465. }
  1466. }
  1467. .part2_right_content_top:hover {
  1468. a .content_top_title22 {
  1469. color: #a01c0e;
  1470. }
  1471. }
  1472. .part2_right_content_top:nth-child(2) {
  1473. margin-left: 10px;
  1474. }
  1475. }
  1476. .part2_right_content_bottom {
  1477. width: 450px;
  1478. height: 300px;
  1479. margin-top: 20px;
  1480. overflow: hidden;
  1481. .content_bottom_list {
  1482. width: 450px;
  1483. height: 22px;
  1484. line-height: 21px;
  1485. white-space: nowrap;
  1486. overflow: hidden;
  1487. text-overflow: ellipsis;
  1488. margin-bottom: 28px;
  1489. font-family: Microsoft YaHei, Microsoft YaHei;
  1490. font-weight: 400;
  1491. font-size: 18px;
  1492. color: #333333;
  1493. a {
  1494. color: #333333;
  1495. }
  1496. }
  1497. .content_bottom_list:hover {
  1498. a {
  1499. color: #a01c0e;
  1500. }
  1501. }
  1502. }
  1503. }
  1504. }
  1505. }
  1506. }
  1507. //第三部分
  1508. .part3 {
  1509. width: 100%;
  1510. overflow: hidden;
  1511. // height: 1200px;
  1512. margin-top: 35px;
  1513. margin-bottom: 40px;
  1514. .inner {
  1515. width: 1200px;
  1516. height: 1200px;
  1517. background-color: #fff;
  1518. .part3_left {
  1519. float: left;
  1520. .part3_left_top {
  1521. width: 720px;
  1522. overflow: hidden;
  1523. .part3_leftTitle {
  1524. width: 720px;
  1525. height: 50px;
  1526. line-height: 50px;
  1527. .part3_left_title:first-child {
  1528. float: left;
  1529. margin-right: 20px;
  1530. width: 100px;
  1531. height: 50px;
  1532. line-height: 50px;
  1533. position: relative;
  1534. font-family: Microsoft YaHei, Microsoft YaHei;
  1535. font-weight: 400;
  1536. font-size: 20px;
  1537. color: #333333;
  1538. a {
  1539. color: #333333;
  1540. }
  1541. em {
  1542. display: inline-block;
  1543. width: 8px;
  1544. height: 8px;
  1545. background-color: #a01c0e;
  1546. border-radius: 4px;
  1547. position: absolute;
  1548. top: 9px;
  1549. right: 6px;
  1550. }
  1551. }
  1552. .part3_left_title {
  1553. float: left;
  1554. margin-right: 20px;
  1555. width: 100px;
  1556. height: 50px;
  1557. line-height: 50px;
  1558. position: relative;
  1559. font-family: Microsoft YaHei, Microsoft YaHei;
  1560. font-weight: 400;
  1561. font-size: 20px;
  1562. color: #999999;
  1563. a {
  1564. color: #999999;
  1565. }
  1566. // em{
  1567. // display: inline-block;
  1568. // width: 8px;
  1569. // height: 8px;
  1570. // background-color: #a01c0e;
  1571. // border-radius: 4px;
  1572. // position: absolute;
  1573. // top: 9px;
  1574. // right: 6px;
  1575. // }
  1576. }
  1577. }
  1578. .part3_left_content {
  1579. width: 720px;
  1580. margin-top: 20px;
  1581. .part3_left_content_top {
  1582. .content_top_left {
  1583. float: left;
  1584. width: 350px;
  1585. height: 484px;
  1586. .part3_photo_text {
  1587. width: 350px;
  1588. height: 280px;
  1589. position: relative;
  1590. img {
  1591. width: 350px;
  1592. height: 230px;
  1593. }
  1594. .littleTips {
  1595. display: inline-block;
  1596. width: 50px;
  1597. height: 26px;
  1598. line-height: 26px;
  1599. text-align: center;
  1600. background-color: #a01c0e;
  1601. font-family: Microsoft YaHei, Microsoft YaHei;
  1602. font-weight: 400;
  1603. font-size: 16px;
  1604. color: #fff;
  1605. position: absolute;
  1606. top: 0;
  1607. right: 10px;
  1608. }
  1609. .part3_text {
  1610. display: inline-block;
  1611. width: 350px;
  1612. height: 26px;
  1613. white-space: nowrap;
  1614. overflow: hidden;
  1615. text-overflow: ellipsis;
  1616. font-family: Microsoft YaHei, Microsoft YaHei;
  1617. font-weight: bold;
  1618. font-size: 18px;
  1619. color: #333333;
  1620. margin-top: 15px;
  1621. }
  1622. }
  1623. .part3_photo_text:hover {
  1624. .part3_text {
  1625. color: #a01c0e;
  1626. }
  1627. }
  1628. .part3_content {
  1629. width: 350px;
  1630. .part3_content_list:first-child {
  1631. width: 350px;
  1632. height: 25px;
  1633. white-space: nowrap;
  1634. overflow: hidden;
  1635. text-overflow: ellipsis;
  1636. font-family: Microsoft YaHei, Microsoft YaHei;
  1637. font-weight: bold;
  1638. font-size: 18px;
  1639. color: #333333;
  1640. line-height: 22px;
  1641. margin-top: 35px;
  1642. a {
  1643. color: #333333;
  1644. }
  1645. }
  1646. .part3_content_list:first-child:hover {
  1647. a {
  1648. color: #a01c0e;
  1649. }
  1650. }
  1651. .part3_content_list:last-child {
  1652. margin-bottom: 0;
  1653. }
  1654. .part3_content_list {
  1655. width: 350px;
  1656. height: 25px;
  1657. white-space: nowrap;
  1658. overflow: hidden;
  1659. text-overflow: ellipsis;
  1660. font-family: Microsoft YaHei, Microsoft YaHei;
  1661. font-weight: 400;
  1662. font-size: 18px;
  1663. color: #333333;
  1664. line-height: 22px;
  1665. margin-bottom: 27px;
  1666. a {
  1667. color: #333333;
  1668. }
  1669. }
  1670. .part3_content_list:hover {
  1671. a {
  1672. color: #a01c0e;
  1673. }
  1674. }
  1675. }
  1676. }
  1677. .content_top_right {
  1678. float: left;
  1679. width: 350px;
  1680. height: 542px;
  1681. border: 1px solid #D9D9D9;
  1682. margin-left: 20px;
  1683. padding: 30px 25px;
  1684. box-sizing: border-box;
  1685. .content_right_list {
  1686. width: 350px;
  1687. height: 58px;
  1688. line-height: 58px;
  1689. margin-bottom: 48px;
  1690. .part3_time {
  1691. float: left;
  1692. width: 77px;
  1693. height: 58px;
  1694. color: #a01c0e;
  1695. .month {
  1696. font-family: Microsoft YaHei, Microsoft YaHei;
  1697. font-weight: 400;
  1698. font-size: 26px;
  1699. color: #A01C0E;
  1700. line-height: 30px;
  1701. }
  1702. .xiegang {
  1703. font-size: 22px;
  1704. font-weight: 400;
  1705. }
  1706. .day {
  1707. font-family: Microsoft YaHei, Microsoft YaHei;
  1708. font-weight: 400;
  1709. font-size: 16px;
  1710. color: #A01C0E;
  1711. line-height: 19px;
  1712. }
  1713. }
  1714. .time_left_content {
  1715. float: left;
  1716. width: 231px;
  1717. height: 58px;
  1718. display: -webkit-box;
  1719. -webkit-box-orient: vertical;
  1720. -webkit-line-clamp: 2;
  1721. overflow: hidden;
  1722. text-overflow: ellipsis;
  1723. word-break: break-all;
  1724. line-height: 22px;
  1725. padding-top: 12px;
  1726. box-sizing: border-box;
  1727. font-family: Microsoft YaHei, Microsoft YaHei;
  1728. font-weight: 400;
  1729. font-size: 18px;
  1730. color: #333333;
  1731. border-left: 1px solid #D9D9D9;
  1732. padding-left: 22px;
  1733. a {
  1734. color: #333333;
  1735. }
  1736. a:hover {
  1737. color: #a01c0e;
  1738. }
  1739. }
  1740. }
  1741. .content_right_list:hover {
  1742. .time_left_content {
  1743. color: #a01c0e;
  1744. }
  1745. }
  1746. }
  1747. }
  1748. }
  1749. }
  1750. .part3_left_bottom {
  1751. width: 720px;
  1752. margin-top: 25px;
  1753. .part3_leftTitle1 {
  1754. width: 720px;
  1755. height: 50px;
  1756. line-height: 50px;
  1757. margin-bottom: 25px;
  1758. .part3_left_title_active {
  1759. float: left;
  1760. margin-right: 20px;
  1761. width: 100px;
  1762. height: 50px;
  1763. line-height: 50px;
  1764. position: relative;
  1765. font-family: Microsoft YaHei, Microsoft YaHei;
  1766. font-weight: 400;
  1767. font-size: 20px;
  1768. color: #333333;
  1769. a.active {
  1770. color: #333333;
  1771. }
  1772. em {
  1773. display: inline-block;
  1774. width: 8px;
  1775. height: 8px;
  1776. background-color: #a01c0e;
  1777. border-radius: 4px;
  1778. position: absolute;
  1779. top: 9px;
  1780. right: 6px;
  1781. }
  1782. }
  1783. .part3_left_title {
  1784. float: left;
  1785. margin-right: 20px;
  1786. width: 100px;
  1787. height: 50px;
  1788. line-height: 50px;
  1789. position: relative;
  1790. font-family: Microsoft YaHei, Microsoft YaHei;
  1791. font-weight: 400;
  1792. font-size: 20px;
  1793. color: #999999;
  1794. a {
  1795. color: #999999;
  1796. }
  1797. // em{
  1798. // display: inline-block;
  1799. // width: 8px;
  1800. // height: 8px;
  1801. // background-color: #a01c0e;
  1802. // border-radius: 4px;
  1803. // position: absolute;
  1804. // top: 9px;
  1805. // right: 6px;
  1806. // }
  1807. }
  1808. }
  1809. .part3_left_content1 {
  1810. width: 720px;
  1811. .content_bottom_left {
  1812. float: left;
  1813. width: 350px;
  1814. // height: 350px;
  1815. .content_top {
  1816. width: 350px;
  1817. img {
  1818. width: 350px;
  1819. height: 230px;
  1820. }
  1821. .part3_text {
  1822. display: inline-block;
  1823. width: 350px;
  1824. height: 50px;
  1825. line-height: 22px;
  1826. display: -webkit-box;
  1827. -webkit-box-orient: vertical;
  1828. -webkit-line-clamp: 2;
  1829. overflow: hidden;
  1830. text-overflow: ellipsis;
  1831. word-break: break-all;
  1832. margin-top: 15px;
  1833. font-family: Microsoft YaHei, Microsoft YaHei;
  1834. font-weight: bold;
  1835. font-size: 18px;
  1836. color: #333333
  1837. }
  1838. }
  1839. .content_top:hover {
  1840. .part3_text {
  1841. color: #a01c0e;
  1842. }
  1843. }
  1844. .content_bottom {
  1845. width: 350px;
  1846. margin-top: 20px;
  1847. .content_bottom_1 {
  1848. float: left;
  1849. width: 165px;
  1850. img {
  1851. width: 165px;
  1852. height: 96px;
  1853. }
  1854. .part3_text {
  1855. display: inline-block;
  1856. width: 165px;
  1857. height: 44px;
  1858. line-height: 22px;
  1859. display: -webkit-box;
  1860. -webkit-box-orient: vertical;
  1861. -webkit-line-clamp: 2;
  1862. overflow: hidden;
  1863. text-overflow: ellipsis;
  1864. word-break: break-all;
  1865. font-family: Microsoft YaHei, Microsoft YaHei;
  1866. font-weight: 400;
  1867. font-size: 18px;
  1868. color: #333333;
  1869. margin-top: 10px;
  1870. }
  1871. }
  1872. .content_bottom_1:hover {
  1873. .part3_text {
  1874. color: #a01c0e;
  1875. }
  1876. }
  1877. .content_bottom_1:first-child {
  1878. margin-right: 20px;
  1879. }
  1880. }
  1881. }
  1882. .content_bottom_right {
  1883. float: left;
  1884. margin-left: 20px;
  1885. width: 350px;
  1886. .bottom_content_1 {
  1887. width: 350px;
  1888. .bottom_content_list:nth-child(5n+1) {
  1889. font-weight: bold;
  1890. }
  1891. .bottom_content_list {
  1892. width: 350px;
  1893. height: 25px;
  1894. white-space: nowrap;
  1895. overflow: hidden;
  1896. text-overflow: ellipsis;
  1897. font-family: Microsoft YaHei, Microsoft YaHei;
  1898. font-weight: 400;
  1899. font-size: 18px;
  1900. color: #333333;
  1901. line-height: 21px;
  1902. margin-bottom: 25px;
  1903. a {
  1904. color: #333333;
  1905. }
  1906. }
  1907. .bottom_content_list:hover {
  1908. a {
  1909. color: #a01c0e;
  1910. }
  1911. }
  1912. }
  1913. .bottom_content_1:first-child {
  1914. margin-bottom: 20px;
  1915. }
  1916. .bottom_content_1:last-child {
  1917. .bottom_content_list:last-child {
  1918. margin-bottom: 0;
  1919. }
  1920. }
  1921. }
  1922. }
  1923. }
  1924. }
  1925. .part3_right {
  1926. float: right;
  1927. width: 451px;
  1928. .part3_rightTitle {
  1929. width: 451px;
  1930. height: 50px;
  1931. line-height: 50px;
  1932. .part3_right_title:first-child {
  1933. float: left;
  1934. margin-right: 20px;
  1935. width: 100px;
  1936. height: 50px;
  1937. line-height: 50px;
  1938. position: relative;
  1939. font-family: Microsoft YaHei, Microsoft YaHei;
  1940. font-weight: 400;
  1941. font-size: 20px;
  1942. color: #333333;
  1943. a {
  1944. color: #333333;
  1945. }
  1946. em {
  1947. display: inline-block;
  1948. width: 8px;
  1949. height: 8px;
  1950. background-color: #a01c0e;
  1951. border-radius: 4px;
  1952. position: absolute;
  1953. top: 9px;
  1954. right: 6px;
  1955. }
  1956. }
  1957. .part3_right_title {
  1958. float: left;
  1959. margin-right: 20px;
  1960. width: 100px;
  1961. height: 50px;
  1962. line-height: 50px;
  1963. position: relative;
  1964. font-family: Microsoft YaHei, Microsoft YaHei;
  1965. font-weight: 400;
  1966. font-size: 20px;
  1967. color: #999999;
  1968. a {
  1969. color: #999999;
  1970. }
  1971. // em{
  1972. // display: inline-block;
  1973. // width: 8px;
  1974. // height: 8px;
  1975. // background-color: #a01c0e;
  1976. // border-radius: 4px;
  1977. // position: absolute;
  1978. // top: 9px;
  1979. // right: 6px;
  1980. // }
  1981. }
  1982. .rightMore {
  1983. float: right;
  1984. font-family: Microsoft YaHei, Microsoft YaHei;
  1985. font-weight: 400;
  1986. font-size: 12px;
  1987. color: #999999;
  1988. a {
  1989. color: #999999;
  1990. }
  1991. }
  1992. }
  1993. .part3_right_content_top {
  1994. width: 451px;
  1995. height: 325px;
  1996. position: relative;
  1997. margin-top: 20px;
  1998. .part3_right_contentlist_top {
  1999. font-family: Microsoft YaHei, Microsoft YaHei;
  2000. font-weight: 400;
  2001. font-size: 18px;
  2002. color: #333333;
  2003. width: 425px;
  2004. height: 25px;
  2005. white-space: nowrap;
  2006. overflow: hidden;
  2007. text-overflow: ellipsis;
  2008. margin-bottom: 25px;
  2009. a {
  2010. color: #333333;
  2011. }
  2012. .numStyle {
  2013. display: inline-block;
  2014. width: 22px;
  2015. height: 22px;
  2016. background-color: #f6f6f6;
  2017. text-align: center;
  2018. margin-right: 20px;
  2019. font-family: Protest Strike, Protest Strike;
  2020. font-weight: 400;
  2021. font-size: 16px;
  2022. color: #CCCCCC;
  2023. border-radius: 4px;
  2024. }
  2025. }
  2026. .part3_right_contentlist_top:hover {
  2027. color: #a01c0e;
  2028. a {
  2029. color: #a01c0e;
  2030. }
  2031. }
  2032. .part3_right_contentlist_top:nth-child(1) {
  2033. .numStyle {
  2034. background-color: #a01c0e;
  2035. color: #fff;
  2036. }
  2037. }
  2038. .part3_right_contentlist_top:nth-child(2) {
  2039. .numStyle {
  2040. background-color: #FFC62E;
  2041. color: #fff;
  2042. }
  2043. }
  2044. .part3_right_contentlist_top:nth-child(3) {
  2045. .numStyle {
  2046. background-color: #e98008;
  2047. color: #fff;
  2048. }
  2049. }
  2050. .part3_right_contentlist_top:last-child {
  2051. margin-bottom: 10px;
  2052. }
  2053. }
  2054. .part3_photo_text_right {
  2055. width: 451px;
  2056. height: 120px;
  2057. margin-top: 35px;
  2058. margin-bottom: 35px;
  2059. background-color: #f6f3f0;
  2060. .part3_text11 {
  2061. float: left;
  2062. width: 271px;
  2063. height: 96px;
  2064. display: -webkit-box;
  2065. -webkit-box-orient: vertical;
  2066. -webkit-line-clamp: 3;
  2067. overflow: hidden;
  2068. text-overflow: ellipsis;
  2069. word-break: break-all;
  2070. font-family: Microsoft YaHei, Microsoft YaHei;
  2071. font-weight: 400;
  2072. font-size: 18px;
  2073. color: #333333;
  2074. padding: 25px 20px;
  2075. box-sizing: border-box;
  2076. }
  2077. img {
  2078. float: left;
  2079. width: 180px;
  2080. height: 120px;
  2081. }
  2082. }
  2083. .part3_photo_text_right:hover {
  2084. color: #a01c0e;
  2085. .part3_text11 {
  2086. color: #a01c0e;
  2087. }
  2088. }
  2089. .part3_right_content_11 {
  2090. width: 451px;
  2091. height: 70px;
  2092. position: relative;
  2093. .part3_right_contentlist_11 {
  2094. width: 451px;
  2095. height: 25px;
  2096. white-space: nowrap;
  2097. overflow: hidden;
  2098. text-overflow: ellipsis;
  2099. font-family: Microsoft YaHei, Microsoft YaHei;
  2100. font-weight: 400;
  2101. font-size: 18px;
  2102. color: #333333;
  2103. line-height: 21px;
  2104. .erjibiaoti {
  2105. display: inline-block;
  2106. width: 87px;
  2107. height: 24px;
  2108. font-family: Microsoft YaHei, Microsoft YaHei;
  2109. font-weight: 400;
  2110. font-size: 18px;
  2111. color: #A01C0E;
  2112. border-right: #D3D5D8 1px solid;
  2113. margin-right: 10px;
  2114. }
  2115. a {
  2116. color: #333333;
  2117. }
  2118. }
  2119. .part3_right_contentlist_11:hover {
  2120. color: #a01c0e;
  2121. a {
  2122. color: #a01c0e;
  2123. }
  2124. }
  2125. .part3_right_contentlist_11:first-child {
  2126. margin-bottom: 25px;
  2127. }
  2128. }
  2129. }
  2130. }
  2131. }
  2132. </style>